package cn.liit.weixin.custommsg.model;


/**
 * 客服消息(文本消息)
 * @author zhangboqi
 */
public class TextMsg extends BaseMsg{ 
	
	private Text text;
	
	public TextMsg() {
		super();
	}
	
	public TextMsg(String touser,  Text text) {
		super(touser, MSGTYPE_TEXT);
		this.text = text;
	}

	public TextMsg(String touser,String content) {
		super(touser,MSGTYPE_TEXT);
		this.text = new Text(content);
	}

	public Text getText() {
		return text;
	}

	public void setText(Text text) {
		this.text = text;
	}
	public static class Text {
		private String content;

		public String getContent() {
			return content;
		}

		public void setContent(String content) {
			this.content = content;
		}

		public Text(String content) {
			super();
			this.content = content;
		}
		
	}
}
